package one.stand.request.live;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import one.stand.request.BaseRequest;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 直播房间查询
 * @author luoyang
 * @date 2020/5/19 13:51
 */
@Data
public class LiveRequest extends BaseRequest implements Serializable {

    @ApiModelProperty(value = "公司id")
    private Integer companyId;

    @ApiModelProperty(value = "起始拉取房间，start = 0 表示从第 1 个房间开始拉取")
    @NotNull(message = "start不能为空")
    private Integer start;

    @ApiModelProperty(value = "每次拉取的个数上限，不要设置过大，建议 100 以内")
    @NotNull(message = "limit不能为空")
    private Integer limit;
}
